<template>
  <div id="app">
    <router-view />
    <tab-bar v-show="showTabBar"></tab-bar>
  </div>
</template>
<script>
import tabBar from "@/components/TabBar.vue";
import { mapState } from "vuex";
export default {
  components: { tabBar },
  computed: {
    ...mapState("tabBarModule", ["showTabBar"]),
  },
  mounted() {
    // axios({
    //   url: "https://m.maizuo.com/gateway?cityId=440100&pageNum=1&pageSize=10&type=1&k=2027543 ",
    //   headers: {
    //     "X-Client-Info":
    //       '{"a":"3000","ch":"1002","v":"5.0.4","e":"16109427851267187151011841","bc":"440100"}',
    //     "X-Host": "mall.film-ticket.film.list",
    //   },
    // }).then((res) => {
    //   console.log(res);
    // });
  },

  // 轮播图  https://m.maizuo.com/gateway?type=2&cityId=440100&k=6632647
  // 即将热映 https://m.maizuo.com/gateway?cityId=440100&pageNum=1&pageSize=10&type=2&k=1339333
  // 咨询 https://m.maizuo.com/mz-act/active/ElzMZU125260
};
</script>
<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  // text-align: center;
}
</style>
